package com.example.springboot.demo.service;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author daifei
 * @date 2019/6/26
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import(ServerImportSelector.class)
public @interface EnableServer {

    Server.type type();
}
